﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DVK.SP2007
{
    /// <summary>
    /// DTO class, which holds some simple unit info.
    /// This is used to hold data in Session or show in Listview.
    /// 
    /// <remarks>
    /// In the context of Dvk, the unit might be person and thus code is the person code and name is the person name.
    /// Unit could also be a organisation.
    /// </remarks>
    /// </summary>
    [Serializable]
    public class UnitInfo
    {
        /// <summary>
        /// Gets or sets the units code.
        /// </summary>
        /// <value>The code.</value>
        public string Code { get; set; }
        /// <summary>
        /// Gets or sets the units name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }
    }
}